<?php

class Config {
	var $config = false;
	var $configFile = 'config.php';
	
	public function __construct() {
		//echo $config['user'];
		$this->loadConfigFile();
	}
	
	public function loadConfigFile() {
		$result = parse_ini_file($this->configFile, true);
		if($result == true) {
			$this->config = $result;
		}
	}
}

?>